﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PJ.Business.Partner;
using PJ.Framework.Common;
using PJ.Data.SalePurchase.Sale;

namespace PJ.Business.SalePurchase.Sale
{
    /// <summary>
    /// CustomerShoppingCartItemService class
    /// </summary>
    public class CustomerShoppingCartService : ShoppingCartService<ICustomerShoppingCart, ICustomerShoppingCartData, ICustomerShoppingCartProvider>, ICustomerShoppingCartService
    {
        public CustomerShoppingCartService()
            : base(InjectionBroker.Resolve <ICustomerShoppingCartProvider>())
        {
        }
        [Microsoft.Practices.Unity.InjectionConstructor]
        public CustomerShoppingCartService(ICustomerShoppingCartProvider dataService)
            : base(dataService)
        {
        }



        public override ICustomerShoppingCart CreateNewItem()
        {
            return new CustomerShoppingCart();
        }
    }
}
